package com.xjj.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName Role
 * @Description TODO
 * @Author 于文龙
 * @Date 2022/10/19 18:54
 * @Version 1.0
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Role {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //角色名称
    @TableField("name")
    private String name;
    //描述
    @TableField("description")
    private String description;
    //状态
    @TableField("status")
    private Integer status;
}
